/**
 * 
 */
package com.vital.dao;

import java.io.Serializable;

/**
 * @author btan
 *
 */
public class Location implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	private float lat;
	private float lng;
	private String accuracy;
	private String name;
	private String phone;
	private String address;
	private int category;
	
	
	public Location() {}
	
	/**
	 * @param id
	 * @param lat
	 * @param lng
	 * @param accuracy
	 * @param name
	 * @param phone
	 * @param address
	 * @param category
	 */
	public Location(int id, float lat, float lng, String accuracy, String name,
			String phone, String address, int category) {
		this.id = id;
		this.lat = lat;
		this.lng = lng;
		this.accuracy = accuracy;
		this.name = name;
		this.phone = phone;
		this.address = address;
		this.category = category;
	}



	public Location(float lat, float lng, String accuracy, String name, String phone, String address,
			int category) {
		this.lat = lat;
		this.lng = lng;
		this.name = name;
		this.address = address;
		this.phone = phone;
		this.accuracy = accuracy;
		this.category = category;
	}
	
	public Location(float lat, float lng, String name, String address,
			String phone) {
		super();
		this.lat = lat;
		this.lng = lng;
		this.name = name;
		this.address = address;
		this.phone = phone;
	}
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @return the lat
	 */
	public float getLat() {
		return lat;
	}
	/**
	 * @param lat the lat to set
	 */
	public void setLat(float lat) {
		this.lat = lat;
	}
	/**
	 * @return the lng
	 */
	public float getLng() {
		return lng;
	}
	/**
	 * @param lng the lng to set
	 */
	public void setLng(float lng) {
		this.lng = lng;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the address
	 */
	public String getAddress() {
		return address;
	}
	/**
	 * @param address the address to set
	 */
	public void setAddress(String address) {
		this.address = address;
	}
	/**
	 * @return the phone
	 */
	public String getPhone() {
		return phone;
	}
	/**
	 * @param phone the phone to set
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}
	/**
	 * @return the category
	 */
	public int getCategory() {
		return category;
	}
	/**
	 * @param category the category to set
	 */
	public void setCategory(int category) {
		this.category = category;
	}

	/**
	 * @return the accuracy
	 */
	public String getAccuracy() {
		return accuracy;
	}

	/**
	 * @param accuracy the accuracy to set
	 */
	public void setAccuracy(String accuracy) {
		this.accuracy = accuracy;
	}
}
